package com.fengniu.ejb.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

@Entity
@Table(name = "DeltaRelationTable", schema = "FENGNIU", uniqueConstraints = {})
public class DeltaRelation extends GeneRelation implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 5328274739530014180L;

	// ----------FROM entity------------------------------
	@ManyToOne
	User user;

	@ManyToOne
	Content content;

	@ManyToOne
	Site site;

	@ManyToOne
	Category category;

	// ----User2XXXX--------------------------
	@ManyToOne
	User2Category user2Category;

	@ManyToOne
	User2Content user2Content;

	@ManyToOne
	User2Site user2Site;

	@ManyToOne
	User2User user2User;

	// ----Content2XXXX--------------------------
	@ManyToOne
	Content2Category content2Category;

	@ManyToOne
	Content2Content content2Content;

	// ----Site2XXXXX--------------------------
	@ManyToOne
	Site2Category site2Category;

	@ManyToOne
	Site2Content site2Content;

	@ManyToOne
	Site2Site site2Site;

	// ----Category2XXXXX--------------------------
	@ManyToOne
	Category2Category category2Category;

	// -----------------------TO entity--------------
	@ManyToOne
	User user2;

	@ManyToOne
	Content content2;

	@ManyToOne
	Site site2;

	@ManyToOne
	Category category2;

	// ----User2XXXX--------------------------
	@ManyToOne
	User2Category user2Category2;

	@ManyToOne
	User2Content user2Content2;

	@ManyToOne
	User2Site user2Site2;

	@ManyToOne
	User2User user2User2;

	// ----Content2XXXX--------------------------
	@ManyToOne
	Content2Category content2Category2;

	@ManyToOne
	Content2Content content2Content2;

	// ----Site2XXXXX--------------------------
	@ManyToOne
	Site2Category site2Category2;

	@ManyToOne
	Site2Content site2Content2;

	@ManyToOne
	Site2Site site2Site2;

	// ----Category2XXXXX--------------------------
	@ManyToOne
	Category2Category category2Category2;

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Content getContent() {
		return content;
	}

	public void setContent(Content content) {
		this.content = content;
	}

	public Site getSite() {
		return site;
	}

	public void setSite(Site site) {
		this.site = site;
	}

	public Category getCategory() {
		return category;
	}

	public void setCategory(Category category) {
		this.category = category;
	}

	public User2Category getUser2Category() {
		return user2Category;
	}

	public void setUser2Category(User2Category user2Category) {
		this.user2Category = user2Category;
	}

	public User2Content getUser2Content() {
		return user2Content;
	}

	public void setUser2Content(User2Content user2Content) {
		this.user2Content = user2Content;
	}

	public User2Site getUser2Site() {
		return user2Site;
	}

	public void setUser2Site(User2Site user2Site) {
		this.user2Site = user2Site;
	}

	public User2User getUser2User() {
		return user2User;
	}

	public void setUser2User(User2User user2User) {
		this.user2User = user2User;
	}

	public Content2Category getContent2Category() {
		return content2Category;
	}

	public void setContent2Category(Content2Category content2Category) {
		this.content2Category = content2Category;
	}

	public Content2Content getContent2Content() {
		return content2Content;
	}

	public void setContent2Content(Content2Content content2Content) {
		this.content2Content = content2Content;
	}

	public Site2Category getSite2Category() {
		return site2Category;
	}

	public void setSite2Category(Site2Category site2Category) {
		this.site2Category = site2Category;
	}

	public Site2Content getSite2Content() {
		return site2Content;
	}

	public void setSite2Content(Site2Content site2Content) {
		this.site2Content = site2Content;
	}

	public Site2Site getSite2Site() {
		return site2Site;
	}

	public void setSite2Site(Site2Site site2Site) {
		this.site2Site = site2Site;
	}

	public Category2Category getCategory2Category() {
		return category2Category;
	}

	public void setCategory2Category(Category2Category category2Category) {
		this.category2Category = category2Category;
	}

	public User getUser2() {
		return user2;
	}

	public void setUser2(User user2) {
		this.user2 = user2;
	}

	public Content getContent2() {
		return content2;
	}

	public void setContent2(Content content2) {
		this.content2 = content2;
	}

	public Site getSite2() {
		return site2;
	}

	public void setSite2(Site site2) {
		this.site2 = site2;
	}

	public Category getCategory2() {
		return category2;
	}

	public void setCategory2(Category category2) {
		this.category2 = category2;
	}

	public User2Category getUser2Category2() {
		return user2Category2;
	}

	public void setUser2Category2(User2Category user2Category2) {
		this.user2Category2 = user2Category2;
	}

	public User2Content getUser2Content2() {
		return user2Content2;
	}

	public void setUser2Content2(User2Content user2Content2) {
		this.user2Content2 = user2Content2;
	}

	public User2Site getUser2Site2() {
		return user2Site2;
	}

	public void setUser2Site2(User2Site user2Site2) {
		this.user2Site2 = user2Site2;
	}

	public User2User getUser2User2() {
		return user2User2;
	}

	public void setUser2User2(User2User user2User2) {
		this.user2User2 = user2User2;
	}

	public Content2Category getContent2Category2() {
		return content2Category2;
	}

	public void setContent2Category2(Content2Category content2Category2) {
		this.content2Category2 = content2Category2;
	}

	public Content2Content getContent2Content2() {
		return content2Content2;
	}

	public void setContent2Content2(Content2Content content2Content2) {
		this.content2Content2 = content2Content2;
	}

	public Site2Category getSite2Category2() {
		return site2Category2;
	}

	public void setSite2Category2(Site2Category site2Category2) {
		this.site2Category2 = site2Category2;
	}

	public Site2Content getSite2Content2() {
		return site2Content2;
	}

	public void setSite2Content2(Site2Content site2Content2) {
		this.site2Content2 = site2Content2;
	}

	public Site2Site getSite2Site2() {
		return site2Site2;
	}

	public void setSite2Site2(Site2Site site2Site2) {
		this.site2Site2 = site2Site2;
	}

	public Category2Category getCategory2Category2() {
		return category2Category2;
	}

	public void setCategory2Category2(Category2Category category2Category2) {
		this.category2Category2 = category2Category2;
	}

}
